package com.karry.pojo;

/*
*   答疑类
* */
public class Question {

    private int id;
    private String text;
    private String keys;
    private String answer;

    public Question(int id, String text, String keys, String answer) {
        this.id = id;
        this.text = text;
        this.keys = keys;
        this.answer = answer;
    }

    public Question() {}

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getKeys() {
        return keys;
    }

    public void setKeys(String keys) {
        this.keys = keys;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    @Override
    public String toString() {
        return "Question{" +
                "id=" + id +
                ", text='" + text + '\'' +
                ", keys='" + keys + '\'' +
                ", answer='" + answer + '\'' +
                '}';
    }



}
